package com.example.administrator.testc;/**
 * Created by Administrator on 2016/4/14 0014.
 */

import android.app.Application;
import android.content.Context;
import android.support.multidex.MultiDex;

import pri.zey.custom.AFMananger.AFManager;
import pri.zey.custom.AFMananger.CustomApplication;

/**
 * >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>类描述
 * >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>属性描述
 * >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>方法描述
 */
public class mApp extends CustomApplication {

    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = this.getApplicationContext();
    }

    public static Context getContext() {
        return context;
    }

    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        MultiDex.install(this);
    }
}
